package com.shop.service;

import com.shop.pojo.Admin;
import com.shop.util.Pager;

public interface IAdminService {
	public Pager<Admin> find(int level,int pageSize, int pageNo);
	public void save(Admin admin);
	public Admin findById(int id);
	public void deleteById(int id);
	public Admin findByUserName(String userName);
	public String updatePassword(String oldPassword,String newPassword,String userName);
}
